all: write read
read:read.cc contacts.pb.cc
	g++ -o $@ $^ -lprotobuf -std=c++11
write:write.cc contacts.pb.cc
	g++ -o $@ $^ -lprotobuf -std=c++11 

.PHONY:clean
clean:
	rm -f write read